<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="css/eui.css">
    <style>
        body{
            font: 18px "Microsoft YaHei UI";
            margin: 0;
        }
        header a{
            text-decoration: none;
            color: #6c6c6c;
        }
        header a:hover{
            color: #0aa1ed;
        }
        .el-table .el-table__cell{
            padding: 0;
        }
        .p_img:hover{
            position: relative;
            bottom: 5px;
            box-shadow: 0 0 10px 5px #333;
        }
    </style>
</head>
<body>
<div id="app">
    <el-container>

        <el-main style="width: 1200px;margin: 0 auto">
            <el-row gutter="20">
                <el-col span="6" v-for="p in productArr">
                    <el-card>
                        <div>
                            <img class="p_img" :src="p.url" width="100%" alt="">
                        </div>
                        <div>
                            <p style="font-size: 15px;margin-top: 0;height: 38px">{{p.title}}</p>
                            <div style="color: #6c6c6c">
                            </div>
                        </div>
                    </el-card>
                </el-col>
            </el-row>
        </el-main>

    </el-container>
</div>
</body>
<script src="js/vue.js"></script>
<script src="js/eui.js"></script>
<script>
    let v = new Vue({
        el: '#app',
        data: function() {
            return {
                productArr:[{title:"MIssMom夏季薄款雪纺仙女",url:"imgs/a.jpg"},
                    {title:"艺佳 简约绣花双层布料纱窗帘",url:"imgs/b.jpg"},
                    {title:"戴夫人V领碎花连衣裙",url:"imgs/c.jpg"},
                    {title:"耐克男运动透气跑步鞋",url:"imgs/d.jpg"},
                    {title:"怎样优雅的喝水呢？",url:"imgs/e.jpg"}]
            }
        }
    })
</script>
</html>